function deepClone(obj){
  let target

    target = obj instanceof Array?[]:{}
    for(const key in obj){
      if(obj[key] instanceof Object){
        deepClone(obj[key])
      }else{
        target[key]=obj[key]
      }
    }
  return target
}
